package com.yf.exam.modules.trainingarchives.teacherattendance.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yf.exam.modules.trainingarchives.pdfexport.dto.second.TeacherAttendanceExportDTO;
import com.yf.exam.modules.trainingarchives.teacherattendance.dto.TeacherAttendanceDTO;
import com.yf.exam.modules.trainingarchives.teacherattendance.entity.TeacherAttendance;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yf.exam.modules.trainingarchives.teacherattendance.vo.TeacherAttendanceListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 授课教师签到表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-12-29
 */
public interface TeacherAttendanceMapper extends BaseMapper<TeacherAttendance> {

    IPage<TeacherAttendanceListVO> paging(Page page,@Param("params") TeacherAttendanceDTO params);

    List<TeacherAttendanceExportDTO> getTeacherAttendancePdfData(@Param("trainingClassInfoId") String trainingClassInfoId);
}
